﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 动物
{
    class Animal
    {

        public string _eat;
        private string _name;


        public string Name
        {
            get { return this._name; }
            set { this._name = value; }
        }


        public void PrintEat()
        {
            Console.WriteLine("我是{0}动物，我不仅会吃！", this.Name);
        }

    }
}
